package com.kupurui.asteacher.adapter;

import android.content.Context;

import com.android.frame.adapter.CommonAdapter;
import com.android.frame.adapter.ViewHolder;
import com.kupurui.asteacher.R;
import com.kupurui.asteacher.bean.JobArrangementBean;

import java.util.List;

/**
 * Created by Administrator on 2017/8/18.
 */

public class ChapterAdapter extends CommonAdapter<JobArrangementBean.ChapterBean> {
    public ChapterAdapter(Context context, List<JobArrangementBean.ChapterBean> mList, int itemLayoutId) {
        super(context, mList, itemLayoutId);
    }

    @Override
    public void convert(ViewHolder holder, JobArrangementBean.ChapterBean item, int positon) {
            holder.setTextViewText(R.id.tv_content,item.getChapter());
    }
}
